/**
 ****************************************************************************
 * Copyright (C) Marcelo F. Ochoa. All rights reserved.                      *
 * ------------------------------------------------------------------------- *
 * This software is published under the terms of the Apache Software License *
 * version 1.1, a copy of which has been included  with this distribution in *
 * the LICENSE file.                                                         *
 */

package com.prism.ibm;

import java.sql.Connection;
import java.sql.SQLException;

import com.prism.ConnInfo;
import com.prism.SPProc;

/**
 * This class implements a ConcreteProduct class of abtract factory patterm.
 * Define a product object (SPProcDB2 represent a Java Stored Procedure) to be created by the corresponding concrete factory.
 * Implements the AbstractProduct Interface (SPProc)
 */
public class SPProcDB2 extends SPProc {
    /**
     * Create a concrete SPProc (SPProcDB2). Find the Stored Procedure in the table all_arguments to get public definitios
     * If there are public Stored Procedures add this definition to the Hashtable
     * of the superclass, and store all overloaded ocurrence of the same StoreProcedure
     */
    public SPProc create(ConnInfo conn, String procname, Connection sqlconn) throws SQLException {
        // To be implement
        return null;
    }
}
